package Util;
import java.util.Date;

import com.np.dto.*;
public class Constants {
	public static taikhoan _login=null;
	public static String DateUtilToSql(Date _date)
	{
		String []a=_date.toString().split("/");
		int day=Integer.parseInt(a[0]);
		int thang=Integer.parseInt(a[1]);
		int nam=Integer.parseInt(a[1]);
		String temp=String.format("{0}-{1}-{2}",nam,thang,day);
		return temp;
		
	}

}
